<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
<script>
throw new Error("抛出错误")


throw new SyntaxError("SyntaxError");
throw new TypeError("TypeError");
throw new RangeError("RangeError");
throw new EvalError("EvalError");
throw new URIError("URIError");
throw new ReferenceError("ReferenceError");

</script>
</head>
<body>
</body>
</html> 



